package com.choudou5.solr.bean.common;

import org.apache.solr.client.solrj.SolrQuery;

/**
 * @name Solr查询参数
 * @author choudou5
 * @date 2018/7/18
 */
public class SolrQueryParam extends SolrQuery {

    private String module;

    private String keyword;

    public SolrQueryParam(String module, String keyword) {
        this.module = module;
        this.keyword = keyword;
    }

    public SolrQueryParam(String module, String keyword, String query) {
        this.module = module;
        this.keyword = keyword;
        setQuery(query);
    }

    public String getModule() {
        return module;
    }

    public String getKeyword() {
        return keyword;
    }

}
